#ifndef SRVDRIVERANS_H
#define SRVDRIVERANS_H

#include "baseptc.h"
#include "gps.h"
//recv the answers that include the willing of picking the client
//from driver and forward it to client
namespace protocal{
class SrvDriverAns : public BasePtc
{
public:
    SrvDriverAns()
    {
        this->source = SERVER;
        this->srv_command = SRV_DRIVER_ANS;
        this->size = sizeof(SrvDriverAns);
    }

public:
    char car_id[10];
    char licence_plate[10];
    char driver_name[10];
    char company[10];
    short honesty_degree;
    short arri_time;
    GPS gps;
};
}
#endif // SRVDRIVERANS_H
